package com.example.hangman_in_android.Model;

public class Player {
	private String name;
	private int score;

	public Player(String name) {
		System.out.println("Player.Player()");
		score = 0;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public int getScore() {
		return score;
	}

	public void win() {
		score += 1;

	}
}
